package com.wzdigit.wms.basic.client.request.transfer;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.wzdigit.wms.basic.domain.basic.Vehicle;
import com.wzdigit.wms.basic.domain.dtos.inventory.SnInforDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * 调拨单明细
 */
@Data
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class CreateTransferRequest implements Serializable {


    private static final long serialVersionUID = 1L;

    //todo 入参：转出仓库，目的仓库，承运信息，产品条码明细，用户ID

    @ApiModelProperty(value = "转出仓库信息")
    private WhsReq turnWhsReq;

    @ApiModelProperty(value = "目的仓库信息")
    private WhsReq targetWhsReq;

    @ApiModelProperty(value = "承运信息")
    private Vehicle vehicle;

    @ApiModelProperty(value = "产品条码明细")
    private List<SnInforDto> snInforDtoList;

    @ApiModelProperty(value = "用户ID")
    private Integer userId;

}
